package com.woniu.adminservice.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class Menus implements Serializable {

    private static final long serialVersionUID = -95365025028000185L;
        
    private Integer id;
        
    private String title;
        
    private String icon;
        
    private String href;
        
    private String perm;
        
    private String spread;
        
    private Integer parentId;
        
    private Integer sorting;

    //树形是否展开
    private Boolean isOpen = false;

    public Boolean getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(Boolean open) {
        isOpen = open;
    }

    //节点是否被选中
    private Boolean checked;
}